package com.estate.service.detail;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.estate.pojo.Detail;
import com.estate.pojo.Project;
import com.estate.pojo.Region;

public interface DetailService {
	
	//根据项目id查找区域表中的区域编号 
	public List<Detail> findCodeByProId(Integer ProId) ;
	
	//按主项目id查询主项目id，项目名称和分期项目的信息
	public List<Detail> getMessByPorId(@Param(value = "ProId")Integer ProId);
	
	public Detail selectDetail(Integer project_id,Integer det_id) throws Exception;
	
	public List<Detail> selDetail() throws Exception;
	
	/**
     * 按照项目id查看该项目下的楼栋信息
     * @return
     */
	public List<Detail> selectDetByProId(Integer ProId);
	
	/**
     * 查询分期项目的编号
     * @return
     */
	public List<Detail> findDetCodingByProId(Integer ProId);
	
}
